<template>
    <div class="bi-people-isolation-card">
        <div class="bi-people-isolation-card__head">
            <span class="bi-people-isolation-card__area">{{data.divisionName}}</span>
        </div>
        <div class="bi-people-isolation-card__body">
            <ul class="bi-people-isolation-card__quotas">
                <li class="bi-people-isolation-card__quota">
                   <span class="bi-people-isolation-card__quota-label">隔离点名称：</span> {{data.hotelName}}
                </li>
                <li class="bi-people-isolation-card__quota">
                    <span class="bi-people-isolation-card__quota-label">隔离人员：</span> {{data.name}}
                </li>
                <li class="bi-people-isolation-card__quota">
                    <span class="bi-people-isolation-card__quota-label">房间号：</span>{{data.roomNum}}
                </li>
            </ul>
        </div>
    </div>
</template>
<script>
export default {
    name: 'BiPeopleIsolationCard',
    props: {
        data: {
            type: Object,
            default: () => ({})
        }
    }
}
</script>
<style lang="scss">
.bi-people-isolation-card{
    font-size: 17px;
    background-color: #fff;
    position: relative;
    padding: 16px;
    &:not(:last-child):after{
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0;
        border-bottom: 1PX solid #D0D0D0;
    }
}
.bi-people-isolation-card__quotas{
    padding-top: 9px;
}
.bi-people-isolation-card__quota-label{
    color: black;
}
.bi-people-isolation-card__quota{
    color: #666;
    line-height: 1.7em;
    padding: 3px 0;
}
.bi-people-isolation-card__area{
    height: 24px;
    line-height: 24px;
    border: 1PX solid #2C9AF1;
    border-radius: 2px;
    box-sizing: content-box;
    color: #2C9AF1;
    text-align: center;
    padding: 0 18px;
    font-size: 15px;
    display: inline-block;
}
</style>
